home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
California Calendar Superstars
/
California Calendar Superstars.iso
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1994-01-04
|
4KB
|
109 lines
@ECHO OFF
ECHO OFF
CLS
ECHO WELCOME TO THE CALIFORNIA SUPERSTARS CALENDAR CD-ROM!
ECHO BY WVCD!
ECHO.
ECHO TO INSTALL THE CD-ROM PLEASE FOLLOW THE INSTRUCTIONS:
IF (%1)==() GOTO ERROR
IF (%2)==() GOTO ERROR
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ WVCD CD-ROM INSTALLATION │
ECHO ├──────────────────────────────────────────────────────────┤
ECHO │ │
ECHO │ You have choosen a CD-ROM drive of %1 and a target │
ECHO │ drive of %2. (If this is not correct please press │
ECHO │ 'n' in answer of the question below.) │
ECHO │ │
ECHO │ CD-ROM Drive: %1 Install To: %2 │
ECHO │ │
ECHO │ EXAMPLE - INSTALL D C │
ECHO │ ( DO NOT type the : ) │
ECHO │ │
ECHO │ The Example installs from a CD-ROM drive of D to │
ECHO │ a local C drive. │
ECHO │ A sub-directory named WVCD will be created on drive │
ECHO │ %2. The CD-ROM program files will then be loaded into │
ECHO │ the WVCD sub-directory. This Install is for Systems │
ECHO │ with a Hard Drive of "C" - If otherwise please read │
ECHO │ the README.TXT file for instructions. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ASK Is this information correct?
if not errorlevel 1 goto ERROR
echo
echo Installing WVCD Calendar Program...
MD %2:\WVCD
XCOPY %1:\README.* %2:\WVCD
XCOPY %1:\*.GFT %2:\WVCD
XCOPY %1:\TMMPLAY.* %2:\WVCD
XCOPY %1:\TESTAUD.EXE %2:\WVCD
XCOPY %1:\TEST.WAV %2:\WVCD
XCOPY %1:\%1PLAY\*.BAT %2:\WVCD
XCOPY %1:\NOTEPAD\*.* %2:\WVCD
XCOPY %1:\LAUNCH.EXE %2:\WVCD
GOTO DONE
:dfull
CLS
ECHO.
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ !!! AN ERROR HAS OCCURRED DURING INSTALLATION !!! │
ECHO. │ │
ECHO │ Please make sure that you have specified a Hard Disk │
ECHO │ as the destination and there is at least 600,000 bytes │
ECHO │ free space. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
GOTO END
:ERROR
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO. │ PLEASE INSTALL WVCD CD AS EXAMPLE! │
ECHO │ │
ECHO │ EXAMPLE: ┌───── CD-ROM DRIVE: │
ECHO │ INSTALL D C │
ECHO │ └───DESTINATION DRIVE: │
ECHO │ │
ECHO │ ( make sure not to type the : ) │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
GOTO END
:Done
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO ┌──────────────────────────────────────────────┐
ECHO │ Installation complete! │
ECHO │ Once the Audio Test is complete - │
ECHO │ Type CAL and press [Enter] to view CD! │
ECHO └──────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
%2:
cd \WVCD
TESTAUD.EXE TEST.WAV
ECHO.
ECHO.
ECHO.
ECHO.
Echo Please Read README.TXT file for Help!
ECHO.
ECHO.
:END